/*
 * @Description:
 * @Author: Cxy
 * @Date: 2023-04-20 09:27:50
 * @LastEditors: Cxy
 * @LastEditTime: 2023-12-28 16:55:10
 * @FilePath: \blogAdmin\play\src\router\basicR.ts
 */
import type { RouteConfigInter } from './type'

export default [
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login/index.vue'),
    meta: {
      title: '登录',
      isShow: true
    }
  },
  // 刷新页面使用此路由
  {
    path: '/refresh',
    component: () => import('@/layout/index.vue')
  },
  {
    path: '/:pathMatch(.*)',
    name: 'noFound',
    component: () => import('@/views/error/404.vue')
  }
] as Array<RouteConfigInter>
